package com.ruoyi.system.domain.recycle;

import java.util.List;

/**
 * @author renzhihao
 * @date 2023/12/08 22:04
 */
public class RecycleResult<T> {
    private String code;
    private String msg;
    private Integer hasNext;
    private Integer page;
    private List<T> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getHasNext() {
        return hasNext;
    }

    public void setHasNext(Integer hasNext) {
        this.hasNext = hasNext;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "RecycleResult{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", hasNext=" + hasNext +
                ", page=" + page +
                ", data=" + data +
                '}';
    }
}
